<!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>新闻添加</title>
</head>
<body>
	<h2>添加新闻</h2>
	<?php echo form_open('/news/addaction'); ?>

	<label for="title">标题</label> 
	<input type="input" name="title" /><?php echo form_error('title','<span>','</span>')?><br />

	<label for="context">内容</label>
	<textarea name="context"></textarea><br />

	<input type="submit" name="submit" value="添加" /> 

	</form>
</body>
</html>